xen.git
19 years ago[XEN] Add a warning about changeable size of shared_info structure.
kaf24@localhost.localdomain [Sat, 12 Aug 2006 15:18:08 +0000 (16:18 +0100)]
[XEN] Add a warning about changeable size of shared_info structure.

sizeof(shared_info_t) can change even in compatible hypervisor
versions.
Add a clear warning about this, and fix the few places relying on it.
In addition, add some padding to arch_shared_info, to allow future
additions to the structure without breaking known offsets of members
following it in the shared info.

Signed-off-by: John Levon <john.levon@sun.com>
19 years ago[XM-TEST] Fix network tests for -route and -nat
kaf24@localhost.localdomain [Sat, 12 Aug 2006 14:58:52 +0000 (15:58 +0100)]
[XM-TEST] Fix network tests for -route and -nat

vif-nat and vif-route need to know domU ethX IP addresses in order to set
up the appropriate routes.The new network test infrastructure is not
providing the IP address on the vif line in /tmp/xm-test.conf; adding
it turns out to be a one-liner.

Tested with xm-test running with -bridge, -route, and -nat network
scripts.

Signed-off-by: Jim Dykman <dykman@us.ibm.com>
19 years ago[NET] front: Restore 16 bytes of reservation
kaf24@localhost.localdomain [Sat, 12 Aug 2006 14:56:00 +0000 (15:56 +0100)]
[NET] front: Restore 16 bytes of reservation

By replacing dev_alloc_skb with alloc_skb we need to do the 16-byte
reservation ourselves.  Also, it's unnecessary to align the size
when calling alloc_skb since the alignment is an implementation
detail of alloc_skb and it already takes care of it for us.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
19 years ago[LINUX][XENBUS] Wait for devices to connect when frontend driver is loaded as a module.
kaf24@localhost.localdomain [Sat, 12 Aug 2006 14:50:25 +0000 (15:50 +0100)]
[LINUX][XENBUS] Wait for devices to connect when frontend driver is loaded as a module.

Thsi fixes problems where a driver is loaded from a script, and the
following parts of the script depend on devices having connected
by the time the modprobe/insmod returns.

Based on a tested patch from Rik van Riel at Red Hat.

Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoNew xm uptime command.
emellor@leeni.uk.xensource.com [Sat, 12 Aug 2006 11:25:42 +0000 (12:25 +0100)]
New xm uptime command.

From Alex Brett <alex.brett@xensource.com>

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years ago[IA64] Add two extra empty files and add a comment to every empty
kfraser@localhost.localdomain [Fri, 11 Aug 2006 17:09:13 +0000 (18:09 +0100)]
[IA64] Add two extra empty files and add a comment to every empty
source file so that they can be handled by patch/diff.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[XEN] Remove batched writable pagetable logic.
kfraser@localhost.localdomain [Fri, 11 Aug 2006 15:07:22 +0000 (16:07 +0100)]
[XEN] Remove batched writable pagetable logic.

Benchmarks show it provides little or no benefit (except
on synthetic benchmarks). Also it is complicated and
likely to hinder efforts to reduce lockign granularity.

Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[NET] front: Do not allocate unnecessary page-sized main data area
kfraser@localhost.localdomain [Fri, 11 Aug 2006 13:22:54 +0000 (14:22 +0100)]
[NET] front: Do not allocate unnecessary page-sized main data area
for receive skbuffs. The bulk data is stored in fragments.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[XEN] Fix bug in spurious pagefault detection which could
kfraser@localhost.localdomain [Thu, 10 Aug 2006 14:51:38 +0000 (15:51 +0100)]
[XEN] Fix bug in spurious pagefault detection which could
be exploited by unprivileged guests. Thanks to Matt Yourst
for finding this and providing the patch.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[HVM] Remove unused apic_enabled field from hvm_info_table.
kfraser@localhost.localdomain [Thu, 10 Aug 2006 14:45:47 +0000 (15:45 +0100)]
[HVM] Remove unused apic_enabled field from hvm_info_table.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoRevert inadvertent code change from "replace tabs with spaces" changeset.
emellor@leeni.uk.xensource.com [Thu, 10 Aug 2006 13:29:04 +0000 (14:29 +0100)]
Revert inadvertent code change from "replace tabs with spaces" changeset.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years ago[XEN] Add a new type of grant copy operation.
kfraser@localhost.localdomain [Thu, 10 Aug 2006 10:54:15 +0000 (11:54 +0100)]
[XEN] Add a new type of grant copy operation.
Based on an original patch from Rolf Neugebauer at Intel.
Signed-off-by: Steven Smith <ssmith@xensource.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoAdd support for sending event channel interrupts to HVM guests.
kfraser@localhost.localdomain [Thu, 10 Aug 2006 10:36:27 +0000 (11:36 +0100)]
Add support for sending event channel interrupts to HVM guests.
Signed-off-by: Steven Smith <ssmith@xensource.com>
19 years ago[LIBXC] clean specified files instead of wildcarding
kfraser@localhost.localdomain [Thu, 10 Aug 2006 09:55:54 +0000 (10:55 +0100)]
[LIBXC] clean specified files instead of wildcarding
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
19 years ago[LIBXC] replace tabs with spaces
kfraser@localhost.localdomain [Thu, 10 Aug 2006 09:52:46 +0000 (10:52 +0100)]
[LIBXC] replace tabs with spaces
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
19 years ago[HVM] Fix some IOAPIC and LAPIC device model bugs.
kfraser@localhost.localdomain [Thu, 10 Aug 2006 09:47:37 +0000 (10:47 +0100)]
[HVM] Fix some IOAPIC and LAPIC device model bugs.

Fix some boundary checking errors.
Fix the confusion using variables 'level' and 'trig_mode'.
Also fix some other misc mistakes and do some cleanup.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
19 years ago[HVM] Rmove unused field pae_enabled from hvm_info_table.
kfraser@localhost.localdomain [Thu, 10 Aug 2006 09:45:10 +0000 (10:45 +0100)]
[HVM] Rmove unused field pae_enabled from hvm_info_table.
Signed-off-by: Xin Li <xin.b.li@intel.com>
19 years ago[MINIOS] A first step to re-architecture mini-os for a port to ia64.
kfraser@localhost.localdomain [Thu, 10 Aug 2006 09:43:20 +0000 (10:43 +0100)]
[MINIOS] A first step to re-architecture mini-os for a port to ia64.
Create architecture specific directories below mini-os for sources
and below mini-os/include for headers.

Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
19 years ago[CONSOLE] Always specify CON_ENABLED in Linux ocnsole driver.
kfraser@localhost.localdomain [Thu, 10 Aug 2006 09:39:58 +0000 (10:39 +0100)]
[CONSOLE] Always specify CON_ENABLED in Linux ocnsole driver.

I cannot think of any circumstance that the Xen console device would
not have CON_ENABLED.  With out this, DomUs that panic() before the
init process has started (and maybe even after) do not get output hi
priority log_levels (like panic()) from LOG_BUF().

Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
19 years agoFix 2 issues when creating HVM guests:
kfraser@localhost.localdomain [Thu, 10 Aug 2006 09:37:15 +0000 (10:37 +0100)]
Fix 2 issues when creating HVM guests:
 1) xend can't start due to xend-config.sxp
 2) qemu dm option vncunused should be effective only
    when vnc is turned on.

Signed-off-by: Xin Li <xin.b.li@intel.com>
19 years ago[qemu patches] Update patches for changeset 11048:27bef4f3c1d3.
chris@kneesaa.uk.xensource.com [Wed, 9 Aug 2006 20:34:27 +0000 (21:34 +0100)]
[qemu patches] Update patches for changeset 11048:27bef4f3c1d3.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years ago[qemu] Move acpi to devfn 2, so that it matches the fadt.
chris@kneesaa.uk.xensource.com [Wed, 9 Aug 2006 20:33:59 +0000 (21:33 +0100)]
[qemu] Move acpi to devfn 2, so that it matches the fadt.

Based on feedback from: Wang, Winston L <winston.l.wang@intel.com>
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years ago[qemu patches] Update patches for changesets 11045:bd11c4855c5d and 11046:8a615d28759e.
chris@kneesaa.uk.xensource.com [Wed, 9 Aug 2006 19:08:20 +0000 (20:08 +0100)]
[qemu patches] Update patches for changesets 11045:bd11c4855c5d and 11046:8a615d28759e.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years ago[qemu] HVM acpi port init update.
chris@kneesaa.uk.xensource.com [Wed, 9 Aug 2006 19:07:01 +0000 (20:07 +0100)]
[qemu] HVM acpi port init update.
Removed the acpi port depency on USB exist.

Based on a patch from: Winston Wang <winston.l.wang@intel.com>
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years ago[qemu] Disable qemu's acpi support.
chris@kneesaa.uk.xensource.com [Wed, 9 Aug 2006 18:57:03 +0000 (19:57 +0100)]
[qemu] Disable qemu's acpi support.

Based on a patch from: Wang, Winston L <winston.l.wang@intel.com>
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years agoMerge with xen-ia64-unstable.
kfraser@localhost.localdomain [Wed, 9 Aug 2006 17:15:27 +0000 (18:15 +0100)]
Merge with xen-ia64-unstable.

19 years agoMerge with xenppc-unstable.
kfraser@localhost.localdomain [Wed, 9 Aug 2006 17:04:20 +0000 (18:04 +0100)]
Merge with xenppc-unstable.

19 years agomerge with xen-unstable.hg
awilliam@xenbuild.aw [Wed, 9 Aug 2006 16:32:23 +0000 (10:32 -0600)]
merge with xen-unstable.hg

19 years ago[IA64] catch up new hypercall HYPERVISR_hvm_op for IPF (libxc)
awilliam@xenbuild.aw [Wed, 9 Aug 2006 16:04:43 +0000 (10:04 -0600)]
[IA64] catch up new hypercall HYPERVISR_hvm_op for IPF (libxc)

append xc_set_hvm_param for IPF

Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
19 years ago[IA64] catch up new hypercall HYPERVISR_hvm_op for IPF
awilliam@xenbuild.aw [Wed, 9 Aug 2006 15:59:52 +0000 (09:59 -0600)]
[IA64] catch up new hypercall HYPERVISR_hvm_op for IPF

append HYPERVISOR_hvm_op for IPF

Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
19 years agomerge with xen-unstable.hg
awilliam@xenbuild.aw [Wed, 9 Aug 2006 14:34:06 +0000 (08:34 -0600)]
merge with xen-unstable.hg

19 years ago[qemu patches] Update patches for changeset 10998:bd04004865ba.
chris@kneesaa.uk.xensource.com [Wed, 9 Aug 2006 14:05:12 +0000 (15:05 +0100)]
[qemu patches] Update patches for changeset 10998:bd04004865ba.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years ago[qemu] Add vncunused option.
chris@kneesaa.uk.xensource.com [Wed, 9 Aug 2006 14:03:38 +0000 (15:03 +0100)]
[qemu] Add vncunused option.
If the port used for the requested display number is in use, try
additional ports until a free port is found.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years ago[IA64] fix a fetch code bug
awilliam@xenbuild.aw [Wed, 9 Aug 2006 14:01:52 +0000 (08:01 -0600)]
[IA64] fix a fetch code bug

Fetch code may fail, if there is no corresponding tlb entry
in THASH-VTLB. This patch adds "retry mechanism" to resolve
this issue.

Signed-off-by: Anthony Xu <anthony.xu@intel.com>
19 years agomerge
Ian.Campbell@xensource.com [Wed, 9 Aug 2006 10:29:06 +0000 (11:29 +0100)]
merge

19 years agoMake ballon and backend drivers fail gracefully if they are unable to initialize
Ian.Campbell@xensource.com [Wed, 9 Aug 2006 10:27:28 +0000 (11:27 +0100)]
Make ballon and backend drivers fail gracefully if they are unable to initialize
due to missing hypervisor support.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
19 years agoFix BUG_ON on switch_mm if XENFEAT_writable_page_tables is enabled.
Ian.Campbell@xensource.com [Wed, 9 Aug 2006 10:26:11 +0000 (11:26 +0100)]
Fix BUG_ON on switch_mm if XENFEAT_writable_page_tables is enabled.

Signed-of-by: Ian Campbell <ian.campbell@xensource.com>
19 years ago[qemu patches] Update patches for changeset 10993:dc7b56b8cfb5.
chris@kneesaa.uk.xensource.com [Wed, 9 Aug 2006 10:25:55 +0000 (11:25 +0100)]
[qemu patches] Update patches for changeset 10993:dc7b56b8cfb5.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years ago[hvm/qemu] Add HVM buffered IO writes framework to accelerate stdvga speed.
chris@kneesaa.uk.xensource.com [Wed, 9 Aug 2006 10:25:33 +0000 (11:25 +0100)]
[hvm/qemu] Add HVM buffered IO writes framework to accelerate stdvga speed.
With this patch, win2k VMX guest boots fine on xen.

Signed-off-by: Zhu Han <zhu.han@intel.com>
Signed-off-by: Eddie Dong <eddie.dong@intel.com>
Signed-off-by: Xin Li <xin.b.li@intel.com>
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years agoBuild tools/firmware only on x86.
kaf24@firebug.cl.cam.ac.uk [Wed, 9 Aug 2006 09:53:16 +0000 (10:53 +0100)]
Build tools/firmware only on x86.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[XEN][IA64] IA64 build fixes after recent PER_CPU changes.
kaf24@firebug.cl.cam.ac.uk [Wed, 9 Aug 2006 09:44:33 +0000 (10:44 +0100)]
[XEN][IA64] IA64 build fixes after recent PER_CPU changes.
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
19 years agoFix the unit test to match the new way of allocating VNC ports.
emellor@leeni.uk.xensource.com [Wed, 9 Aug 2006 09:13:37 +0000 (10:13 +0100)]
Fix the unit test to match the new way of allocating VNC ports.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years agoAdded a couple of unit tests for the sxp parsing.
emellor@leeni.uk.xensource.com [Wed, 9 Aug 2006 09:13:36 +0000 (10:13 +0100)]
Added a couple of unit tests for the sxp parsing.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years agoFix reference to buf in parsing of ocaml escapes.
emellor@leeni.uk.xensource.com [Wed, 9 Aug 2006 09:13:34 +0000 (10:13 +0100)]
Fix reference to buf in parsing of ocaml escapes.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years agoBetter diagnosis of the failure when Xend crashes. Thanks to Hollis Blanchard
emellor@leeni.uk.xensource.com [Wed, 9 Aug 2006 08:52:43 +0000 (09:52 +0100)]
Better diagnosis of the failure when Xend crashes.  Thanks to Hollis Blanchard
for diagnosis.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years ago[LIBXC] put PowerPC loader in libxenguest, not libxenctrl
Hollis Blanchard [Wed, 9 Aug 2006 00:07:32 +0000 (19:07 -0500)]
[LIBXC] put PowerPC loader in libxenguest, not libxenctrl
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
19 years ago[LIBXC] remove relocated file from Makefile
Hollis Blanchard [Tue, 8 Aug 2006 23:37:46 +0000 (18:37 -0500)]
[LIBXC] remove relocated file from Makefile
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
19 years ago[IA64] Remove scheduler heartbeat
awilliam@xenbuild.aw [Tue, 8 Aug 2006 20:42:34 +0000 (14:42 -0600)]
[IA64] Remove scheduler heartbeat

Signed-off-by: Daniel Miles <daniel.t.miles@hp.com>
19 years ago[IA64] Virtualize dom0 lid
awilliam@xenbuild.aw [Tue, 8 Aug 2006 20:40:57 +0000 (14:40 -0600)]
[IA64] Virtualize dom0 lid

Because dom0 can't write eid/id into iosapics, lid can be virtualized.

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
19 years ago[IA64] bug fix in ioports_deny_access
awilliam@xenbuild.aw [Tue, 8 Aug 2006 20:38:10 +0000 (14:38 -0600)]
[IA64] bug fix in ioports_deny_access

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
19 years ago[IA64] enable ioports_deny_access for dom0
awilliam@xenbuild.aw [Tue, 8 Aug 2006 20:36:21 +0000 (14:36 -0600)]
[IA64] enable ioports_deny_access for dom0

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
19 years ago[IA64] remove CONFIG_DOMAIN0_CONTIGUOUS and dom0_start
awilliam@xenbuild.aw [Tue, 8 Aug 2006 20:31:48 +0000 (14:31 -0600)]
[IA64] remove CONFIG_DOMAIN0_CONTIGUOUS and dom0_start

Remove unused build option CONFIG_DOMAIN0_CONTIGUOUS, thereby
making dom0_start obsolete.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
19 years ago[LIBXC] move xc_ppc_linux_build.c into a powerpc64 directory
Hollis Blanchard [Tue, 8 Aug 2006 20:11:25 +0000 (15:11 -0500)]
[LIBXC] move xc_ppc_linux_build.c into a powerpc64 directory
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
19 years ago[XEN] Assorted further PER_CPU- or read_mostly-ifications.
kaf24@firebug.cl.cam.ac.uk [Tue, 8 Aug 2006 14:43:54 +0000 (15:43 +0100)]
[XEN] Assorted further PER_CPU- or read_mostly-ifications.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[XEN] Implement proper __read_mostly memory arrangemengt for x86.
kaf24@firebug.cl.cam.ac.uk [Tue, 8 Aug 2006 14:14:43 +0000 (15:14 +0100)]
[XEN] Implement proper __read_mostly memory arrangemengt for x86.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[XEN] Make tracing structures and buffers explicitly PER_CPU.
kaf24@firebug.cl.cam.ac.uk [Tue, 8 Aug 2006 13:56:22 +0000 (14:56 +0100)]
[XEN] Make tracing structures and buffers explicitly PER_CPU.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[XEN] Make multicall info explicitly PER_CPU.
kaf24@firebug.cl.cam.ac.uk [Tue, 8 Aug 2006 13:48:43 +0000 (14:48 +0100)]
[XEN] Make multicall info explicitly PER_CPU.
Also remove cacheline alignment in a few places. We leave
the common timer and schedule_data structures aligned because
they may be accessed randomly by remoted CPUs: at least we can
contain cacheline bouncing to just the offending structures.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[XEN] Make per-cpu pending EOI interrupt info explicitly PER_CPU.
kaf24@firebug.cl.cam.ac.uk [Tue, 8 Aug 2006 13:29:16 +0000 (14:29 +0100)]
[XEN] Make per-cpu pending EOI interrupt info explicitly PER_CPU.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[XEN] Make per-cpu mm information explicitly PER_CPU.
kaf24@firebug.cl.cam.ac.uk [Tue, 8 Aug 2006 13:18:57 +0000 (14:18 +0100)]
[XEN] Make per-cpu mm information explicitly PER_CPU.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[XEN] Make per-cpu time information explicitly PER_CPU.
kaf24@firebug.cl.cam.ac.uk [Tue, 8 Aug 2006 13:02:14 +0000 (14:02 +0100)]
[XEN] Make per-cpu time information explicitly PER_CPU.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[XEN] Make per-cpu schedule data explicitly PER_CPU.
kaf24@firebug.cl.cam.ac.uk [Tue, 8 Aug 2006 12:55:22 +0000 (13:55 +0100)]
[XEN] Make per-cpu schedule data explicitly PER_CPU.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[XEN] Place per-cpu timer info in PER_CPU space.
kaf24@firebug.cl.cam.ac.uk [Tue, 8 Aug 2006 11:04:46 +0000 (12:04 +0100)]
[XEN] Place per-cpu timer info in PER_CPU space.
Signed-of-fby: Keir Fraser <keir@xensource.com>

19 years ago[XEN] Make tlbflush_time a PER_CPU variable.
kaf24@firebug.cl.cam.ac.uk [Tue, 8 Aug 2006 10:45:37 +0000 (11:45 +0100)]
[XEN] Make tlbflush_time a PER_CPU variable.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[qemu patches] Refresh patches.
chris@kneesaa.uk.xensource.com [Tue, 8 Aug 2006 10:28:35 +0000 (11:28 +0100)]
[qemu patches] Refresh patches.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years ago[qemu patches] Update patches for changeset 10974:415614d3a1ee.
chris@kneesaa.uk.xensource.com [Tue, 8 Aug 2006 10:27:12 +0000 (11:27 +0100)]
[qemu patches] Update patches for changeset 10974:415614d3a1ee.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years ago[hvm/qemu] Flip the device model over to using the new Xen event channels
sos22@douglas.cl.cam.ac.uk [Tue, 8 Aug 2006 10:19:29 +0000 (11:19 +0100)]
[hvm/qemu] Flip the device model over to using the new Xen event channels
support.

Signed-off-by: Steven Smith <ssmith@xensource.com>
19 years ago[hvm] Move the mapping of the shared IO page slightly earlier
sos22@douglas.cl.cam.ac.uk [Tue, 8 Aug 2006 10:17:52 +0000 (11:17 +0100)]
[hvm] Move the mapping of the shared IO page slightly earlier
in the initialisation sequence for HVM guests, so that we can
write vp_eport into the shared after creating the port.

Signed-off-by: Steven Smith <ssmith@xensource.com>
19 years ago[XENSTAT] Ignore domains that are being created/destroyed during get_info call.
kaf24@firebug.cl.cam.ac.uk [Tue, 8 Aug 2006 09:36:32 +0000 (10:36 +0100)]
[XENSTAT] Ignore domains that are being created/destroyed during get_info call.

Currently, xenstat_get_node exits with a failure and returns NULL if a
VM is deleted between the time the list of VMs is obtained and the time
it attempts to collect information about the VMs. This patch modifies xenstat
to ignore domains that transition during the call.

Signed-off-by: Simon Graham <Simon.Graham@stratus.com>
19 years ago[HVM][VMX] Cleanup vmx vmexit handler.
kaf24@firebug.cl.cam.ac.uk [Tue, 8 Aug 2006 09:29:58 +0000 (10:29 +0100)]
[HVM][VMX] Cleanup vmx vmexit handler.

Current code doesn't handle vmexits caused by triple fault, INIT, SIPI,
etc, which are listed in IA32 Architecture System Programming Guide 2,
Appendix I VMX Basic Exit Reasons, and calls __hvm_bug() when not
handling such cases, actually domain crash should be good enough.

Also various coding style cleanups.

Signed-off-by: Xin Li <xin.b.li@intel.com>
19 years ago[XEND] Daemonise vncviewer when it is spawned from xend.
kaf24@firebug.cl.cam.ac.uk [Tue, 8 Aug 2006 09:21:51 +0000 (10:21 +0100)]
[XEND] Daemonise vncviewer when it is spawned from xend.

There are various reasons it should be daemonized, but the particular
problem we hit was that YaST called "xm create" and waited on output on
stdout/stderr; xm then spawned vncviewer (which never closed its
inherited stdout and stderr); xm then would exit, but YaST still had
open file descriptors, and therefore waited forever.  It would be
possible to work around in YaST, but it seemed cleaner to daemonize
vncviewer.

Signed-off-by: Charles Coffing <ccoffing@novell.com>
19 years ago[PCI] back: New virtual pci backend: slot
kaf24@firebug.cl.cam.ac.uk [Tue, 8 Aug 2006 09:17:42 +0000 (10:17 +0100)]
[PCI] back: New virtual pci backend: slot

This backend use a slot per pci device.  Contrary to vpci two functions from
one slot appear as two slots. This is useful on ia64 because it doesn't scan
functions > 0 if function 0 does not exist.

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
19 years ago[XEND] Fix fallback and error path for domain destruction by domid,
kaf24@firebug.cl.cam.ac.uk [Tue, 8 Aug 2006 09:03:30 +0000 (10:03 +0100)]
[XEND] Fix fallback and error path for domain destruction by domid,
or of non-existent domain.

I saw the following error message. (A domain of domain name XXX does
not exist.)

# xm list
Name                              ID Mem(MiB) VCPUs State  Time(s)
Domain-0                           0     1019     2 r-----    29.8
# xm destroy XXX
Error: an integer is required

This patch fixes it to print the following error message.

# xm list
Name                              ID Mem(MiB) VCPUs State  Time(s)
Domain-0                           0     1019     2 r-----    35.8
# xm destroy XXX
Error: the domain 'XXX' does not exist.

Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
19 years ago[HVM][VMX] Move hvm interface init_hypercall_page initialization into vmx_setup_hvm_f...
kaf24@firebug.cl.cam.ac.uk [Tue, 8 Aug 2006 08:59:47 +0000 (09:59 +0100)]
[HVM][VMX] Move hvm interface init_hypercall_page initialization into vmx_setup_hvm_funcs.
Signed-off-by: Xin Li <xin.b.li@intel.com>
19 years ago[LIBXC] Do not gzclose() after close() on a gzdopen()'ed fd.
kaf24@firebug.cl.cam.ac.uk [Tue, 8 Aug 2006 08:57:24 +0000 (09:57 +0100)]
[LIBXC] Do not gzclose() after close() on a gzdopen()'ed fd.
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
19 years ago[HVMLOADER] Only install hvmloader if it is built.
kaf24@firebug.cl.cam.ac.uk [Tue, 8 Aug 2006 08:51:08 +0000 (09:51 +0100)]
[HVMLOADER] Only install hvmloader if it is built.
This reverts a broken change in changeset 10948 that broke
the ia64 build.
Signed-off-by: Al Stone <ahs3@fc.hp.com>
19 years agoAdd RH-ish localhost to xend-relocation-hosts-allow in xend-config.sxp
kaf24@firebug.cl.cam.ac.uk [Tue, 8 Aug 2006 08:33:38 +0000 (09:33 +0100)]
Add RH-ish localhost to xend-relocation-hosts-allow in xend-config.sxp
Signed-off-by: Jim Dykman <dykman@us.ibm.com>
19 years ago[PYGRUB] Flesh out some of pygrub's functionality as was originally
kaf24@firebug.cl.cam.ac.uk [Tue, 8 Aug 2006 08:30:11 +0000 (09:30 +0100)]
[PYGRUB] Flesh out some of pygrub's functionality as was originally
intended. Changes include:
 * Addition of basic command line mode much like grub's so that you can
   boot things without having them specified in the config file
 * Edit/append mode for modifying kernel command lines, etc
 * Fix handling of case where the grub config didn't have a default
   specified

Signed-off-by: Jeremy Katz <katzj@redhat.com>
19 years ago[HVM] Fix hvm boot when acpi=1 is specified.
kaf24@firebug.cl.cam.ac.uk [Tue, 8 Aug 2006 08:25:46 +0000 (09:25 +0100)]
[HVM] Fix hvm boot when acpi=1 is specified.
Signed-off-by: Winston Wang <winston.l.wang@intel.com>
19 years ago[XEN] Remove redundant redeclaration of 'machine_restart'.
kaf24@firebug.cl.cam.ac.uk [Tue, 8 Aug 2006 08:19:32 +0000 (09:19 +0100)]
[XEN] Remove redundant redeclaration of 'machine_restart'.
Fixes compile warning with gcc 3.4.2.
Signed-off-by: Hollis Blanchard <hollis@us.ibm.com>
19 years ago[POWERPC] add support for builtin command line
Amos Waterland [Mon, 7 Aug 2006 22:16:18 +0000 (17:16 -0500)]
[POWERPC] add support for builtin command line
Support expressing Xen command line arguments at make invocation.  Use
same section name as Linux's zImage and reserve a certain amount of
space so that arguments can be manipulated by external tools.

Signed-off-by: Amos Waterland <apw@us.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
19 years ago[IA64] Add EXPORT_SYMBOL to modularize netfront/netback
awilliam@xenbuild.aw [Mon, 7 Aug 2006 20:11:58 +0000 (14:11 -0600)]
[IA64] Add EXPORT_SYMBOL to modularize netfront/netback

Add EXPORT_SYMBOLs to allow netfront and netback to
be used as modules.

Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
19 years ago[qemu patches] Update patches for changesets 10957:08a11694b109 - 10959:06e2a95d3395.
chris@kneesaa.uk.xensource.com [Mon, 7 Aug 2006 17:28:50 +0000 (18:28 +0100)]
[qemu patches] Update patches for changesets 10957:08a11694b109 - 10959:06e2a95d3395.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years ago[qemu] Update ioemu to qemu 0.8.2.
chris@kneesaa.uk.xensource.com [Mon, 7 Aug 2006 17:27:27 +0000 (18:27 +0100)]
[qemu] Update ioemu to qemu 0.8.2.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years ago[qemu] Update ioemu to qemu 0.8.2. (.CVS files)
chris@kneesaa.uk.xensource.com [Mon, 7 Aug 2006 17:26:20 +0000 (18:26 +0100)]
[qemu] Update ioemu to qemu 0.8.2. (.CVS files)

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years ago[qemu] Update ioemu to qemu 0.8.2.
chris@kneesaa.uk.xensource.com [Mon, 7 Aug 2006 17:25:30 +0000 (18:25 +0100)]
[qemu] Update ioemu to qemu 0.8.2.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years agoLimit blktap static link to just libaio.
jchesterfield@wicket.uk.xensource.com [Mon, 7 Aug 2006 17:11:59 +0000 (18:11 +0100)]
Limit blktap static link to just libaio.

19 years ago[LINUX] Fix a couple of benign diffs against vanilla spinlock.h.
kaf24@firebug.cl.cam.ac.uk [Mon, 7 Aug 2006 15:07:20 +0000 (16:07 +0100)]
[LINUX] Fix a couple of benign diffs against vanilla spinlock.h.
From: Jan Beulich
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoProvides hooks for perfc print/reset/gather.
kaf24@firebug.cl.cam.ac.uk [Mon, 7 Aug 2006 14:55:39 +0000 (15:55 +0100)]
Provides hooks for perfc print/reset/gather.

These arch-neutral hooks allow architectures to report hardware counters.

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
19 years agoChange DOM0_PERFCCONTROL: remove array limit.
kaf24@firebug.cl.cam.ac.uk [Mon, 7 Aug 2006 14:53:06 +0000 (15:53 +0100)]
Change DOM0_PERFCCONTROL: remove array limit.

Descriptors and values are passed by two distinct buffers.

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
19 years ago[XEN] Allow users to specify mce/nomce boot parameters.
kaf24@firebug.cl.cam.ac.uk [Mon, 7 Aug 2006 14:42:25 +0000 (15:42 +0100)]
[XEN] Allow users to specify mce/nomce boot parameters.
Signed-off-by: Arun Sharma <arun@sharma-home.net>
19 years ago[XEN] Clean up shutdown handling and ignore opt_noreboot if dom0
kaf24@firebug.cl.cam.ac.uk [Mon, 7 Aug 2006 14:35:06 +0000 (15:35 +0100)]
[XEN] Clean up shutdown handling and ignore opt_noreboot if dom0
shuts down cleanly. The option is intended only to retain information
on the local console in case of a crash.

Based on a patch from Muli Ben-Yehuda <muli@il.ibm.com>

Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[xend] Fix reboot for hvm domains with cdrom devices.
chris@kneesaa.uk.xensource.com [Mon, 7 Aug 2006 10:59:31 +0000 (11:59 +0100)]
[xend] Fix reboot for hvm domains with cdrom devices.
The device-type was not added to the device details which caused
cdrom devices to appear as harddisks after a reboot.

From: Alex Brett <Alex.Brett@xensource.com>
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years ago[POWERPC] fixed bad swap of console and store event channels
Jimi Xenidis [Fri, 4 Aug 2006 21:25:29 +0000 (17:25 -0400)]
[POWERPC] fixed bad swap of console and store event channels

Nothing to say except "Sorry!" :(

Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
19 years ago[XEN] Add Xen-attached event channels, which will be used
kfraser@localhost.localdomain [Fri, 4 Aug 2006 19:34:44 +0000 (20:34 +0100)]
[XEN] Add Xen-attached event channels, which will be used
by HVM for the ioreq_packet port.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[HVMLOADER] HVM loader initialises hypercall shim and uses
kfraser@localhost.localdomain [Fri, 4 Aug 2006 19:30:12 +0000 (20:30 +0100)]
[HVMLOADER] HVM loader initialises hypercall shim and uses
it to interrogate Xen version information. Also add support
for HVM hypercall execution on 64-bit host.

Signed-off-by: Steven Smith <ssmith@xensource.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[IA64] Remove P==M support
awilliam@xenbuild.aw [Fri, 4 Aug 2006 15:32:00 +0000 (09:32 -0600)]
[IA64] Remove P==M support

   Remove the old P==M dom0 memory model support.  It's likely
broken by now anyway.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
19 years ago[IA64] SMP Windows is up on VTI domain
awilliam@xenbuild.aw [Fri, 4 Aug 2006 15:15:51 +0000 (09:15 -0600)]
[IA64] SMP Windows is up on VTI domain

This patch makes SMP Windows boot,
Rewrite global purge to support multiple page size.

Signed-off-by: Anthony Xu <anthony.xu@intel.com>
19 years ago[NET] front: Check for received packets in network_open0
ack@localhost.localdomain [Fri, 4 Aug 2006 15:07:58 +0000 (16:07 +0100)]
[NET] front: Check for received packets in network_open0

Because the backend brings up the interface long before the frontend
has booted up, it is possible that by the time we get here we already
have packets queued up for processing.

If we don't process them here, we may delay them more than what is
necessary.  Worse yet, it is possible to miss the notification
interrupt from the backend in such a way that we never get another
one until we bring the interface down and up.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
19 years ago[IA64] convert more privop_stat to perfc
awilliam@xenbuild.aw [Fri, 4 Aug 2006 15:02:43 +0000 (09:02 -0600)]
[IA64] convert more privop_stat to perfc

Convert most privop stats to perfc.

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
19 years ago[IA64] unprotected perfc_defn.h
awilliam@xenbuild.aw [Fri, 4 Aug 2006 14:37:24 +0000 (08:37 -0600)]
[IA64] unprotected perfc_defn.h

Do not protected against multiple include.

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>